//
//  TZYGoodsDetailCell.m
//  Moment
//
//  Created by dllo on 15/12/26.
//  Copyright © 2015年 片刻. All rights reserved.
//

#import "TZYGoodsDetailCell.h"
#define TableViewHeaderHeight 20 + 30 + 20 + SCREEN_HEIGHT / 4 / 3 + 20 + 20 + 10

@implementation TZYGoodsDetailCell


- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self createSubviews];
    }
    return self;
}

- (void)createSubviews
{
    self.selectionStyle = UITableViewCellSelectionStyleNone;
    self.webV = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT * 2)];
    self.webV.scrollView.scrollEnabled = NO;
    self.webV.scrollView.bounces = NO;
    
    self.webV.backgroundColor = [UIColor redColor];
    [self.contentView addSubview:self.webV];
    
}





- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
